with open("a.txt", "r") as fr:
    content=fr.readlines()
print(content)
fr.write("xh")      
fr.close()